<?php
/**
 * Nuclide Session object.
 * 
 * Extends Zend Session object so that you can retrive session namespace like so:
 * print nuc_Session::get('mynamepspace')->myvar_in_mynamespace;
 * 
 * @package	Nuclide
 * @version $Id$
 * @author	Mats Lundberg
 */

Zend_Loader::loadClass('Zend_Session');

/**
 * Nuclide Session object.
 * 
 * Extends Zend Session object so that you can retrive session namespace like so:
 * print nuc_Session::get('mynamepspace')->myvar_in_mynamespace;
 * 
 * @package nuclide
 * @author	Mats Lundberg
 */
class nuc_Session extends Zend_Session_Namespace
{
	public static function get( $namespace ) {
		$sess = new Zend_Session_Namespace( $namespace );
		
		return $sess;
	}
}
?>